FUnknownPtr< I > Class Template Reference
FUnknownPtr - automatic interface conversion and smart pointer in one.
More...
#include <funknown.h>
Detailed Description
template<class I>
class Steinberg::FUnknownPtr< I >
FUnknownPtr - automatic interface conversion and smart pointer in one.
This template class can be used for interface conversion like this:
OPtr<IPath> path = FHostCreate (IPath, hostClasses);
FUnknownPtr<IPath2> path2 (path);
if (path2)
...
Constructor & Destructor Documentation
Member Function Documentation
I * operator= |
( |
FUnknown * |
unknown |
) |
[inline] |
I* getInterface |
( |
|
) |
[inline] |